package cn.hicard.risk.interf.tools;

import java.io.IOException;
import java.io.InputStream;
import java.util.Properties;

/**
 * 获取配置地址工具类
 * @author shaoyan
 * 
 */
public class UrlUtil {

	public String getUrl() {

		Properties pro = new Properties();
		try {

			InputStream inputStream = this.getClass().getClassLoader()
					.getResourceAsStream("interfacepath.properties");

			pro.load(inputStream);

		} catch (IOException e1) {

			e1.printStackTrace();
		}
		return pro.getProperty("url") + pro.getProperty("functionPath");

	}

}
